Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

  Common

  Consts

  Container

  Decoders

  Environment

  FilterSet

  Renderers

  Transcoders

  AudioDefinitionModelElements

  AudioDefinitionModel

  Assign(ChannelAssignment)

  AudioDefinitionModel(IReadOnlyList, IReadOnlyList, IReadOnlyList, IReadOnlyList, IReadOnlyList, IReadOnlyList, IReadOnlyList, IReadOnlyList)

  AudioDefinitionModel(Stream, long, bool)

  ChannelFormats

  Contents

  Feedback

  FeedbackStartPercentage

  GetLength()

  GetSchema()

  Movements

  Objects

  PackFormats

  Programs

  ReadXml(XmlReader)

  StreamFormats

  TrackFormats

  Tracks

  Validate()

  WriteXml(XmlWriter)

  DolbyMetadata

  EnhancedAC3Merger

  Utilities

  AudioFormat

  AudioReader

  AudioTrackReader

  AudioWriter

  BitDepth

  EnhancedAC3Reader

  LAFMode

  LimitlessAudioFormatReader

  LimitlessAudioFormatWriter

  RIFFWaveReader

  RIFFWaveWriter

  SegmentedAudioReader

  SegmentedAudioWriter

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class AudioDefinitionModel

An XML file with channel and object information.
VisibilityPublic
Modifierssealed
ExtendsIXmlSerializable

Public functions

void Assign(ChannelAssignment chna)Change object order to reference the BWF file's correct channels.
Constructor AudioDefinitionModel(Stream reader, long length, bool minimal)Parses an XML file with channel and object information.
Constructor AudioDefinitionModel(IReadOnlyList<ADMProgramme> programs, IReadOnlyList<ADMContent> contents, IReadOnlyList<ADMObject> objects, IReadOnlyList<ADMPackFormat> packFormats, IReadOnlyList<ADMChannelFormat> channelFormats, IReadOnlyList<ADMTrack> tracks, IReadOnlyList<ADMTrackFormat> trackFormats, IReadOnlyList<ADMStreamFormat> streamFormats)Creates an ADM for export by a program list created in code.
ADMTimeSpan GetLength()Get the length of the main program.
XmlSchema GetSchema() Null by definition.
void ReadXml(XmlReader reader)Extracts the ADM metadata from an XML file.
List<string> Validate()Check if timings and positions are valid for this AXML. A string for each error is returned.
void WriteXml(XmlWriter writer)Writes the ADM metadata to an XML file.

Public properties

IReadOnlyList<ADMChannelFormat> ChannelFormatsChannel positions and object movements.
IReadOnlyList<ADMContent> ContentsObject groupings.
Action<double> FeedbackReports the percentage of completion [0;1].
double FeedbackStartPercentageFeedback starts from this ratio [0;1], ends at 1.
IReadOnlyList<ADMChannelFormat> Movements Positional data for all channels/objects.
IReadOnlyList<ADMObject> ObjectsSingle/multitrack object roots.
IReadOnlyList<ADMPackFormat> PackFormatsObject categorizers.
IReadOnlyList<ADMProgramme> ProgramsComplete presentations.
IReadOnlyList<ADMStreamFormat> StreamFormatsMerging of format information elements.
IReadOnlyList<ADMTrackFormat> TrackFormatsCoding information of each discrete audio source.
IReadOnlyList<ADMTrack> TracksFormat information of each discrete audio source.

See also

CavernUnity DLL.Cavern.Format.Transcoders.AudioDefinitionModelElements.ChannelAssignmentConnects RIFF WAVE channels with AudioDefinitionModel tracks.